package com.chinasoft.server.mapper;

import com.chinasoft.server.pojo.Account;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
//Mapper
@Mapper
public interface AccountMapper {

    @Select("select * from account where name = #{name}")
    Account SelectByName(String name);

    @Select("select * from account where id = #{id}")
    Account selectById(Integer id);
}

